export interface User {
  id?: number;
  username: string;
  password: string;
  salt?: string;
  avatar?: string;
  state?: number;
}
export interface Category {
  id: number;
  name: string;
  pid: number;
}
export interface Goods {
  id: number;
  category_id: number;
  name: string;
  price: number;
  picture: string;
  stock: number;
  spec: string;
  description: string;

  discount: number; //折扣
  num: number; //商品数量
}
